import request from '@/utils/request'

// 查询
export function listDetail(query) {
  return request({
    url: '/system/redis/value',
    method: 'get',
    params: query
    // data:data
  })
}

// 新增
export function addDetail(data) {
  return request({
    url: 'system/redis/value',
    method: 'post',
    data: data
  })
}

// 修改
export function updateDetail(data) {
  return request({
    url: 'system/redis/value',
    method: 'put',
    data: data
  })
}

// 删除
export function delDetail(data) {
  return request({
    url: 'system/redis/value',
    method: 'delete',
    data: data
  })
}
